
//////{"content":["RECORDING","WRITING"],"status":["NEW","REVIEWED","GRADED"]}
import 'dart:convert';

BasketSearchDto basketSearchDtoFromJson(String str) =>
    BasketSearchDto.fromJson(json.decode(str));

String basketSearchDtoToJson(BasketSearchDto data) =>
    json.encode(data.toJson());

class BasketSearchDto {
  BasketSearchDto({
    this.content,
    this.status,
  });

  List<String>? content;
  List<String>? status;

  factory BasketSearchDto.fromJson(Map<String, dynamic> json) =>
      BasketSearchDto(
        content: json["content"] != null
            ? List<String>.from(json["content"].map((x) => x))
            : null,
        status: json["status"] != null
            ? List<String>.from(json["status"].map((x) => x))
            : null,
      );

  Map<String, dynamic> toJson() => {
        "content":
            content != null ? List<dynamic>.from(content!.map((x) => x)) : null,
        "status":
            status != null ? List<dynamic>.from(status!.map((x) => x)) : null,
      };
}
